package com.bw.entity;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.io.File;

@Data
public class StudentRoomAdd {

    @NotNull(message = "楼号不为空")
    private Integer apartmentId;
    @NotNull(message = "宿舍不为空")
    private Integer roomId;
    @NotNull(message = "学生不为空")
    private Integer studentId;

    private MultipartFile picFile;
}
